﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 作业
{
    class Tushuguanli
    {
        private string username;
        private int password;
        private string department;
        private string position;

        private int isbn;
        private string bookname;
        private int money;
        private string publisher;
        private string author;
        
        private string address;
        private string contact;


        public string Username
        {
            get { return this.username; }
            set { this.username = value; }
        }
        public int Password {
            get {return this.password; }
            set { this.password = value; }
        }
        public string Department {
            get { return this.department; }
            set { this.department = value; }
        }
        public string Position {
            get { return this.position; }
            set { this.position = value; }
        }
        public int ISBN
        {
            get { return this.isbn; }
            set { this.isbn = value; }
        }
        public string Bookname
        {
            get { return this.bookname; }
            set { this.bookname = value; }
        }
        public int Money
        {
            get { return this.money; }
            set { this.money = value; }
        }
        public string Publisher
        {
            get { return this.publisher; }
            set { this.publisher = value; }
        }
        public string Author
        {
            get { return this.author; }
            set { this.author = value; }
        }
        public string Address
        {
            get { return this.address; }
            set { this.address = value; }
        }
        public string Contact
        {
            get { return this.contact; }
            set { this.contact = value; }
        }
        



        public void dh()
        {
            Console.WriteLine("用户名：{0},密码：{1}，部门：{2}，职位：{3}",this.username,this.password,this.department,this.position);
            Console.WriteLine("isbn：{0}，书名：{1}，价格：{2}，出版社：{3}，作者：{4}",this.isbn,this.bookname,this.money,this.publisher,this.author);
            Console.WriteLine("出版社：{0}，地址：{1}，联系人：{2}",this.publisher,this.address,this.contact);
        }
    }
}

